/**
 * @file basic_usage.cpp
 * @author 逆流 (1171267147@qq.com)
 * @brief 测试fmt的基本用法
 * @version 0.1
 * @date 2024-09-11
 *
 * @copyright Copyright (c) 2024
 *
 */
#include <fmt/core.h>
#include <fmt/format.h>
#include <fmt/ranges.h>

#include <map>

int main(int argc, char** argv) {
    fmt::print("{}\n", "Hello fmt!");

    std::map<int, char> mapIntToChar;

    mapIntToChar.insert(std::pair<int, char>(1, 'a'));
    mapIntToChar.insert(std::pair<int, char>(2, 'b'));
    mapIntToChar.insert(std::pair<int, char>(3, 'c'));

    fmt::print("{}\n", mapIntToChar);  // 依赖<ranges.h>文件

    (void)argc;
    (void)argv;

    return 0;
}
